#include <iostream>
using namespace std;

int main()
{
  string food = "Pizza";
  string *ptr = &food;

  cout << food << "\n"; // Outputs Pizza
  cout << &food << "\n";

  cout << ptr << "\n";
  cout << *ptr << "\n";

  // Change the value of the pointer
  *ptr = "Hamburger";
  // Output the new value of the pointer (Hamburger)
  cout << *ptr << "\n";
  // Output the new value of the food variable (Hamburger)
  cout << food << "\n";

  return 0;
}
